package com.company.cuobuliao.fragment;

import com.company.cuobuliao.application.MyApplication;

/**
 * 用于存储myApplication 在fragment中销毁后无法获得Application
 */
public class ContextHelper {

    private static MyApplication myApplication;

    public static void init(MyApplication application) {
        myApplication = application;
    }

    public static MyApplication getMyApplication() {
        return myApplication;
    }
}
